import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App'

console.log("ViteApp - 根文件")

// 1. 全局的CSS
import './styles/index.scss'

// 2. 淘宝适配
import 'lib-flexible'

// 3. rtk 
import store from './rtk/store'
import { Provider } from 'react-redux'


// 初始化
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
  <Provider store={store} >
    <App />
  </Provider>
)
